package com.snail.snailvr.views;

import com.snail.snailvr.R;
import com.snail.snailvr.views.fragments.LocalVideosFragment;
import com.umeng.analytics.MobclickAgent;

/**
 * Created by snail on 16/3/28.
 * 视频详情主界面，包含5个当天的推荐视频
 */
public class LocalVideosActivity extends BaseActivity{

    @Override
    protected void handleIntent() {
    }

    @Override
    protected void initView() {
        getSupportFragmentManager().beginTransaction().add(R.id.fragment_container, new LocalVideosFragment()).commitAllowingStateLoss();
    }

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_local_videos;
    }

    public void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }
    public void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }
}
